The XSS Rat
CWAP · Module 09 — JWT & Authentication

Attack 2 — RS256 → HS256 algorithm confusion

Animated, step-by-step: turning a published public key into the signing key.
Module 09JWTKey confusionCritical

◤ Attacker workstation

🐀
you
idle

◤ On the wire

◤ Server

key material
waiting
attacker
server
hunter@cwap — bash
0:00 / 0:00 step 1 / 1